<template>
  <div id="nav">
    <router-link to="/home">
      <p>首页</p>
    </router-link>
    <router-link to="/movie">
      <p>电影</p>
    </router-link>
  </div>
</template>

<script>
export default {

};
</script>

<style scoped>
#nav a {
  font-size: 50px;
  text-decoration: none;
}
#nav {
  display: flex;
  height: 80px;
  background: #efefef;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  text-align: center;
}
#nav p{
    margin-top: 8px;
    font-size: 16px;
}
.router-link-exact-active {
  color: orangered;
}
</style>